package com.lanou3g.bean;

import java.util.List;

public class Menu {
	private Integer id;
	private String name;
	private String icon;
	private String href;
	private Integer parentId;
	private Integer sorting;
	private String spread;
	private List<Menu> children;
	
	public List<Menu> getChildren() {
		return children;
	}
	public void setChildren(List<Menu> children) {
		this.children = children;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getHref() {
		return href;
	}
	public void setHref(String href) {
		this.href = href;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public Integer getSorting() {
		return sorting;
	}
	public void setSorting(Integer sorting) {
		this.sorting = sorting;
	}
	public String getSpread() {
		return spread;
	}
	public void setSpread(String spread) {
		this.spread = spread;
	}
	public Menu() {
		super();
	}
	public Menu(Integer id, String name, String icon, String href, Integer parentId, Integer sorting, String spread) {
		super();
		this.id = id;
		this.name = name;
		this.icon = icon;
		this.href = href;
		this.parentId = parentId;
		this.sorting = sorting;
		this.spread = spread;
	}
	@Override
	public String toString() {
		return "Menu [id=" + id + ", name=" + name + ", icon=" + icon + ", href=" + href + ", parentId=" + parentId
				+ ", sorting=" + sorting + ", spread=" + spread + "]";
	}
	
	
	
}
